/** @format */

import React, {useEffect} from 'react';
import Router from 'next/router';

const Index = () => {
  useEffect(() => {
    const {pathname} = Router;
    if (pathname == '/') {
      Router.push('/fragment/1');
    }
  });
  return <></>;
};

export default Index;
